package com.ruoyi.plus.api.appLogin.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author likun
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel()
public class AppLoginPhonePo implements Serializable {

    @ApiModelProperty("用户注册登录类型(可用于区分用户类型)")
    private String type;

    @ApiModelProperty("手机号")
    @NotBlank
    private String phone;

    @ApiModelProperty("验证码")
    @NotBlank
    private String code;

}